﻿
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<mediatheque.Areas.Admin.Models.Oeuvres>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Médiatheque Geek&Rock
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>Médiatheque Geek&Rock</h1>
            </hgroup>       
            <h2>&laquo;Un homme sans culture ressemble à un zèbre sans rayures.&raquo;</h2>
            <p>
                Grace à a médiathèque <strong>Geek&Rock</strong>, consultez notre gigantesque collections de livres, musiques, films.<br />
                Retrouvez vos auteurs préférés, vos coups de coeur et commander les sans plus attendre en quelques clics.
            </p>
        </div>
    </section>
    <h3>Nos dernières trouvailles</h3>
    <div class="media-preview">
        <div class="section">
            <img class="img-rounded" alt="film" src="../../Content/i/icon/Movie industry.png" />
        </div>
        <% foreach (var movie in Model.getLastMovies())  { %>
        <div class="film">
            <img alt="after earth" src="../../Content/i/media/films/<%= movie.cover %>" style="width: 120px;height: 150px;"/>
            <br />
            <a href="/Film/Details/<%= movie.id %>"><%= movie.title %></a>
        </div>
        <% }  %>
    </div>
    <div class="media-preview">
        <div class="section">
            <img class="img-rounded" alt="film" src="../../Content/i/icon/iTunes.png" />
        </div>
        <% for (int i = 1 ; i<7;i++)  { %>
        <div class="film">
            <img alt="after earth" src="../../Content/i/media/musics/cover-born-to-die.jpg" style="width: 120px;height: 120px;"/>
            <br />
            <a href="">After Earth</a>
        </div>
        <% }
          
          
            
             %>
    </div>
    <div class="media-preview">
        <div class="section">
            <img class="img-rounded" alt="film" src="../../Content/i/icon/Book_icon.png" />
        </div>
        <% for (int i = 1 ; i<7;i++)  { %>
        <div class="film">
            <img alt="after earth" src="../../Content/i/media/books/shadeofgrey.png" style="width: 120px;height: 150px;"/>
            <br />
            <a href="">After Earth</a>
        </div>
        <% }  %>
    </div>
</asp:Content>
